package com.life.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String title;

    private String content;

    private Long pictureId;

    private String tag;

    private Long coverId;

    private String coverUrl;

    private Integer coverWidth;

    private Integer coverHeight;

    private Long tagId;

    private Integer isDeleted;

    private Integer status;

    private Integer isTop;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
